package com.purchase.ml.service.prod.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.purchase.ml.entity.prod.SysProductPic;
import com.purchase.ml.entity.prod.SysProductSku;
import com.purchase.ml.mapper.prod.SysProdPicMapper;
import com.purchase.ml.mapper.prod.SysProdSkuMapper;
import com.purchase.ml.service.prod.SysProdPicService;
import com.purchase.ml.service.prod.SysProdSkuService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author :zxm
 * @date :2021/2/25 18:55
 * @description :some description
 **/
@Service
@Slf4j
public class SysProdPicServiceImpl extends ServiceImpl<SysProdPicMapper, SysProductPic> implements SysProdPicService {

    @Autowired
    private SysProdPicMapper sysProdPicMapper;

    @Override
    public List<SysProductPic> findProductPicByProductId(Long productId) {
        return sysProdPicMapper.selectPicList(productId);
    }
}
